import type { RouteRecordRaw } from 'vue-router';

// 顶级菜单直接为原"工作人员管理端"的子项
// 依据需求：用户管理、店铺标品管理、个人寄售管理、广告位管理
const routes: RouteRecordRaw[] = [
  {
    name: 'StaffUserManage',
    path: '/staff/users',
    component: () => import('../../../views/staff/users/index.vue'),
    meta: {
      icon: 'mdi:account-multiple',
      title: '用户管理与统计',
      order: 9,
    },
  },
  {
    name: 'StaffStandardProducts',
    path: '/staff/products',
    component: () => import('../../../views/staff/products/index.vue'),
    meta: {
      icon: 'mdi:shopping',
      title: '店铺标品管理',
      order: 12,
    },
  },
  {
    name: 'StaffConsignment',
    path: '/staff/consignment',
    component: () => import('../../../views/staff/consignment/index.vue'),
    meta: {
      icon: 'mdi:handshake',
      title: '个人寄售管理',
      order: 13,
    },
  },
  {
    name: 'StaffAdSlots',
    path: '/staff/ad-slots',
    component: () => import('../../../views/staff/ad-slots/index.vue'),
    meta: {
      icon: 'mdi:monitor',
      title: '广告位管理',
      order: 14,
    },
  },
];

export default routes;